package cn.hznc.domain.response;

import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * Demo class
 *
 * @author xiahuanyu
 * @date 2023/3/6
 */
@Getter
@Setter
public class PageResult<T> {
    private List<T> list;
    private Long count;

    public PageResult(List<T> list, Long count) {
        this.list = list;
        this.count = count;
    }

    public PageResult() {
    }
}
